package app.itw.tison.cloud.eureka;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@SpringBootApplication
//开启Eureka注册中心
@EnableEurekaServer
public class EurekaApplication {

  //日志打印
  private static final Logger log = LoggerFactory.getLogger(EurekaApplication.class);

  public static void main(String[] args) {
    SpringApplication.run(EurekaApplication.class, args);
    log.info("Eureka 注册中心启动成功");
  }

}
